#if !defined(__DABLO_UI_UIBUTTON_H__)
#define __DABLO_UI_UIBUTTON_H__
/*-------------------------------------------------------------------------*/
/*                                                                         */
/*  Diablo UI Framwork Button Headfile                                     */
/*                                                                         */
/*  UIButton.h                                                             */
/*                                                                         */
/*  History                                                                */
/*      09/22/2011     created by EagleZhao  eaglezzb@gmail.com            */
/*                                                                         */
/*  Copyright (c) 2011 DirectUI Diablo Team                                */
/*  All rights reserved                                                    */
/*                                                                         */
/*-------------------------------------------------------------------------*/

#include "uiobjectbase.h"

class CUIButton :
	public CUIObjectBase
	{
	public:
		CUIButton(void);
		virtual ~CUIButton(void);
	public:
		virtual void OnDraw(bool bUpdate);

	public:
		virtual void OnMoseMove(long ptX, long ptY,long KeyFlag);
		virtual void OnLButtonUp(long ptX, long ptY);
		virtual void OnCommand(long CommandID);
	};


#endif // !defined(__DABLO_UI_UIBUTTON_H__)